]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
tools/toolbox: Consistently abort on failure
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 12 Jan 2024 13:37:27 +0000 (14:37 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 15 Jan 2024 17:18:09 +0000 (17:18 +0000)
Unlike the other scripts, meson-build currently doesn't set
the `-e` option. The script is mainly a wrapper around a single
toolbox call, but it means that any errors during option parsing
print a warning, but are otherwise ignored.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3113>

tools/toolbox/meson-build.sh

index 5b41305233418d96f115af8d1a7e7998dd6ad255..0f5923bb8a5f5e37a881dbd579526a20a36817ea 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -e
+
 DEFAULT_TOOLBOX=gnome-shell-devel
 CONFIG_FILE=${XDG_CONFIG_HOME:-$HOME/.config}/gnome-shell-toolbox-tools.conf